package com.xiaohu.demo.utils.mysql;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * <p>标题: DataBaseInfo.java</p>
 */
@Component 
@ConfigurationProperties(prefix = "spring.datasource")
public class DataBaseInfo {
	private String url;
	private String username;
	private String password;
	/**  
	 * @return url 
	 */
	public String getUrl() {
		return url;
	}
	/**  
	 * @param url url 
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**  
	 * @return username 
	 */
	public String getUsername() {
		return username;
	}
	/**  
	 * @param username username 
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**  
	 * @return password 
	 */
	public String getPassword() {
		return password;
	}
	/**  
	 * @param password password 
	 */
	public void setPassword(String password) {
		this.password = password;
	}
}
